import request from "@/utils/http"
//渲染表格内容
export function list(params: any) {
    return request({
        method: "get",
        url: "/biosample/forzenshelf/list",
        params
    })
}
//渲染选择容器表格内容
export function equipmentList(params: any) {
    return request({
        method: "get",
        url: "/biosample/equipment/list",
        params
    })
}

//渲染选择存冻架表格内容
export function shelfList(params: any) {
    return request({
        method: "get",
        url: "/biosample/forzenshelftype/list",
        params
    })
}

//新增
export function add(data: any) {
    return request({
        method: "post",
        url: "/biosample/forzenshelf/save",
        data
    });
};


//点击修改按钮渲染模态框内容
export function info(id: any) {
    return request({
        method: "get",
        url: `/biosample/forzenshelf/info/${id}`,
    })
}

//点击模态框确认进行修改
export function edit(data: any) {
    return request({
        method: "post",
        url: "/biosample/forzenshelf/update",
        data
    });
};

//删除选中行的表格内容
export function remove(data: any) {
    return request({
        method: "post",
        url: "/biosample/forzenshelf/delete",
        data
    });
}